<script lang="ts">
import { WidgetTypeEnum } from "@/enum/WidgetType";
import TomJpg from "@/assets/logo.svg";
import { defineComponent } from "vue";
export default defineComponent({
  widgetType: WidgetTypeEnum.Image,
  setup() {
    return {
      TomJpg,
    };
  },
});
</script>

<template>
  <img :src="TomJpg" alt="图片" class="x6-image" />
</template>

<style scoped lang="less">
.x6-image {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
</style>
